﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MixScript.BLL.FI;
using System.Data;
namespace MixScriptWeb.Accounting.ReportFinnance
{
    public partial class TrialBalance_Rpt : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();
            Report creport = new Report();
            dt = creport.trialBalance((String)Session["type"], (String)Session["PeriodFrom"], (String)Session["PeriodTo"]);
            gvList.DataSource = dt;
            gvList.DataBind();
            lblPeriod.Text = (String)Session["PeriodFrom"] + " - " + (String)Session["PeriodFrom"];
        }
    }
}